<?php require VIEW_PATH.'/header.php';?>
<body style="padding-top: 40px;padding-bottom: 40px;background-color: #eee;">
    <div class="container">
      <form class="form-signin" action="{{U('login')}}" method="post">
        <h2 class="form-signin-heading">商城后台登录</h2>
        <input type="username" name="username" id="inputEmail" class="form-control" placeholder="用户名">
        <input type="password" name="password" id="inputPassword" class="form-control" placeholder="密码 ">
        <input style="width:180px;display: inline-block" type="code" name="code" class="form-control" placeholder="验证码 ">
        <img style="display: inline-block" src="{{U('code')}}" onclick='this.src="{{U('code')}}&code="'+Math.random()>
        <input style="margin-top: 10px;" class="btn btn-lg btn-primary btn-block" type="submit" value="登 录">
      </form>

    </div> 
</body>
</html>